package tr.com.oyunus.user.impl;

import org.springframework.stereotype.Component;
import tr.com.oyunus.user.User;
import tr.com.oyunus.user.UserFactory;
import tr.com.oyunus.user.exception.UserNotFound;
import tr.com.oyunus.user.exception.UserNotValid;

/**
 * User: f2xy
 * Date: 02.01.2012
 */
public class DefaultUserFactory implements UserFactory{
    @Override
    public User getUser(int id) throws UserNotFound {
        throw new UserNotFound();
    }

    @Override
    public User getUser(String name) throws UserNotFound {
        throw new UserNotFound();
    }

    @Override
    public User getUser(String name, String password) throws UserNotFound, UserNotValid {
        throw new UserNotValid();
    }
}
